package com.bootdo.fx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.fx.dao.UserFundsInfoDao;
import com.bootdo.fx.domain.UserFundsInfoDO;
import com.bootdo.fx.service.UserFundsInfoService;



@Service
public class UserFundsInfoServiceImpl implements UserFundsInfoService {
	@Autowired
	private UserFundsInfoDao userFundsInfoDao;
	
	@Override
	public UserFundsInfoDO get(Long fundsId){
		return userFundsInfoDao.get(fundsId);
	}
	
	@Override
	public List<UserFundsInfoDO> list(Map<String, Object> map){
		return userFundsInfoDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return userFundsInfoDao.count(map);
	}
	
	@Override
	public int save(UserFundsInfoDO userFundsInfo){
		return userFundsInfoDao.save(userFundsInfo);
	}
	
	@Override
	public int update(UserFundsInfoDO userFundsInfo){
		return userFundsInfoDao.update(userFundsInfo);
	}
	
	@Override
	public int remove(Long fundsId){
		return userFundsInfoDao.remove(fundsId);
	}
	
	@Override
	public int batchRemove(Long[] fundsIds){
		return userFundsInfoDao.batchRemove(fundsIds);
	}
	
}
